ShaderGraph検証 : 比較(明)
from :
ShaderGraph検証 : Blendノード
$ C = max(A, B)
code:Lighten(glsl)
void Unity_Blend_Lighten_float4(float4 Base, float4 Blend, float Opacity, out float4 Out)
{
Out = max(Blend, Base);
Out = lerp(Base, Out, Opacity);
}
参考 :
https://docs.unity3d.com/Packages/com.unity.shadergraph@7.1/manual/Blend-Node.html